home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
p4
/
p4-1_2c.lha
/
p4-1.2c
/
contrib
/
makefile.proto
< prev
next >
Wrap
Makefile
|
1993-05-25
|
1KB
|
36 lines
P4_HOME_DIR = ..
INCLUDEDIR = $(P4_HOME_DIR)/include
LIBDIR = $(P4_HOME_DIR)/lib
LIBS = $(LIBDIR)/libp4.a $(MDEP_LIBS)
default:
all:
make $(MFLAGS) lm_master lm1_master
make $(MFLAGS) simpglob
make $(MFLAGS) lm_slave lm1_slave
simpglob:$(P) simpglob.o $(LIBDIR)/libp4.a
$(CLINKER) $(CFLAGS) -o simpglob simpglob.o $(LIBS)
bcast:$(P) bcast.o $(LIBDIR)/libp4.a
$(CLINKER) $(CFLAGS) -o bcast bcast.o $(LIBS)
lm_master:$(P) lm_master.o lm_slave.o $(LIBDIR)/libp4.a
$(CLINKER) $(CFLAGS) -o lm_master lm_master.o lm_slave.o $(LIBS)
lm_slave:$(P) lm_slave.o slave_main.o $(LIBDIR)/libp4.a
$(CLINKER) $(CFLAGS) -o lm_slave slave_main.o lm_slave.o $(LIBS)
lm1_master:$(P) lm1_master.o lm1_slave.o $(LIBDIR)/libp4.a
$(CLINKER) $(CFLAGS) -o lm1_master lm1_master.o lm1_slave.o $(LIBS)
lm1_slave:$(P) lm1_slave.o slave_main.o $(LIBDIR)/libp4.a
$(CLINKER) $(CFLAGS) -o lm1_slave slave_main.o lm1_slave.o $(LIBS)
realclean: clean
$(RM) -f lm_master lm_slave lm1_master lm1_slave \
simpglob bcast Makefile alogfile.p*